package cn.tedu.tea.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* @author Hyanze
* @description 内容新增DTO
* @date 2023/4/21 2023/4/21
*/

@Data
@ApiModel("内容修改DTO")
public class ContentUpParam implements Serializable {

    @ApiModelProperty(value = "id",example = "123456789")
    private Integer id;

    /** 类别ID */
    @ApiModelProperty(value = "类别ID",example = "1")
    private Integer categoryId ;

    /** 标题 */
    @ApiModelProperty(value = "标题",example = "这是标题")
    private String title ;

    /** 摘要 */
    @ApiModelProperty(value = "摘要",example = "这是摘要")
    private String brief ;

    /** 关键字,标签对应的id:name json对 */
    @ApiModelProperty(value = "关键字,标签对应的id:name json对",example = "id:name")
    private String keywords ;

    /** 封面图 */
    @ApiModelProperty(value = "封面图",example = "/abc.jpg")
    private String coverUrl ;

    /** 媒体类型 */
    @ApiModelProperty(value = "媒体类型",example = "1")
    private Integer mediaType ;

    /** 媒体url */
    @ApiModelProperty(value = "媒体url",example = "/abc.mp4")
    private String mediaUrl ;

    /** 详情 */
    @ApiModelProperty(value = "详情",example = "这是详情")
    private String detail ;
}
